<template>
  <div class="opening">
    <back></back>
    <div class="bg">
      <div class="begin">
        <img src="../assets/avatar/63.jpg" />
        <div class="myname">
          <span>swim</span>
          <span class="enjoy">你还不是会员,开通享9项特权</span>
        </div>
      </div>
      <div class="privilege">
        <div class="gift">
          <div>
            <img src="../assets/member/t1.png" />
          </div>
          <div class="pic">会员福利社</div>
        </div>
        <div class="gift">
          <div>
            <img src="../assets/member/t2.png" />
          </div>
          <div class="pic">商城优惠</div>
        </div>
        <div class="gift">
          <div>
            <img src="../assets/member/t3.png" />
          </div>
          <div class="pic">训练计划</div>
        </div>
        <div class="gift">
          <div>
            <img src="../assets/member/t4.png" />
          </div>
          <div class="pic">身份标识</div>
        </div>
      </div>
    </div>
    <div class="season">
      <p class="enetr">加入终生会员</p>
      <span class="gold">388</span>
      <s>699</s>
      <p>试用一星期 试用期内可退</p>
    </div>
    <!-- banner -->
    <div class="mix_banner">
      <img src="../assets/index/ban7.jpg" />
    </div>
    <!-- banner -->
    <!-- 同意 开始 -->
    <div class="frame">
      <div class="read">
        <van-checkbox v-model="checked" checked-color="#eeca8c"></van-checkbox>
        <span>我已经阅读并同意</span>
        <span class="service">会员服务协议</span>
      </div>
      <div class="hand">
        <span>立即开通</span>
      </div>
    </div>
    <!-- 同意 结束 -->
  </div>
</template>

<script>
export default {
  data() {
    return {
      checked: true,
    };
  },
};
</script>


<style>
/* 返回 */
.opening {
  padding: 70px 0;
}
/* 头部 */
.opening .bg {
  background-image: linear-gradient(#7e7185, #63566a);
  width: 90%;
  margin: 0 auto;
  border-radius: 10px;
  padding: 20px 0;
}
.opening .begin {
  padding: 10px 20px;
  display: flex;
  align-items: center;
  text-align: left;
}
.opening .begin img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 10px;
}
.opening .myname span {
  font-size: 20px;
  color: #fff;
}
.opening .myname > .enjoy {
  display: block;
  font-size: 14px;
  color: #ddd;
}
/* 特权 */
.opening .privilege {
  margin-top: 20px;
  display: flex;
  justify-content: space-around;
  color: #e5c890;
  text-align: center;
}
.opening .privilege > .gift > :first-child {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #786d75;
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin: 0 auto;
}
.opening .privilege > .gift > div > img {
  width: 80%;
}
.opening .privilege .gift .pic {
  font-size: 12px;
  text-align: center;
  margin-top: 10px;
}
/* 价格 */
.opening .season {
  background-color: #fff5eb;
  border: 3px solid #ecd19c;
  border-radius: 10px;
  width: 89%;
  padding: 20px 0;
  margin: 0 auto;
  margin-top: 20px;
}

.opening .season .enetr {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
}
.opening .season .gold {
  font-size: 24px;
  color: #cc955d;
  font-weight: 600;
}
.opening .season .gold::before {
  content: "￥";
  font-size: 18px;
}
.opening .season s {
  margin-left: 10px;
  color: #666;
  font-size: 16px;
}
.opening .season s::before {
  content: "￥";
}
.opening .season > :last-child {
  margin-top: 10px;
  color: #999;
}
/* banner */
.opening .mix_banner {
  width: 90%;
  margin: 10px auto;
}
.opening .mix_banner img {
  width: 100%;
  border-radius: 10px;
}
/* 同意 */
.opening .frame {
  position: fixed;
  width: 100%;
  bottom: 0;
  text-align: left;
  background-color: #fcfcfc;
  border-top: 1px solid #eee;
}
.opening .read {
  display: flex;
  font-size: 16px;
  padding: 10px 20px;
}
.opening .read>:nth-child(2){
  margin-left: 10px;
}
.opening .service {
  color: #007bff;
}
.opening .hand {
  width: 100%;
  height: 60px;
  text-align: center;
  line-height: 60px;
  font-size: 18px;
  color: #000;
  background-image: linear-gradient(90deg, #dcaf74, #f1cd8f);
}
</style>